package com.kgc.app.service.impl;

import com.kgc.app.mapper.EbookCategoryMapper;
import com.kgc.app.pojo.EbookCategory;
import com.kgc.app.service.EbookCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 要求：
 *
 * @Date 2021/9/8
 */
@Service
public class EbookCategoryServiveImpl implements EbookCategoryService {
    @Autowired
    private EbookCategoryMapper ebookCategoryMapper;

    public List<EbookCategory> selectcategory() {
        return ebookCategoryMapper.selectByExample(null);
    }
}
